#ifndef __DAHUA_CALLBACK_HPP__
#define __DAHUA_CALLBACK_HPP__

#include "stdafx.h"
#include "serialize.hpp"
BOOL MessCallBack(LONG lCommand, LONG lLoginID, char *pBuf, DWORD dwBufLen, char *pchDVRIP, LONG nDVRPort, DWORD  dwUser);

void SnapRev(LONG lLoginID, BYTE *pBuf, UINT RevLen, UINT EncodeType, DWORD CmdSerial, DWORD dwUser);

void DeviceDisConnect(long lLoginID, char *pchDVRIP, long nDVRPort, unsigned long dwUser) ;

void RealDataCallBackEx(LONG lRealHandle, DWORD dwDataType, BYTE *pBuffer, DWORD dwBufSize, LONG param, DWORD dwUser);

void interactCallback(LONG lTalkHandle, char *pDataBuf, DWORD dwBufSize, BYTE byAudioFlag, DWORD dwUser);

#endif
